<?php 
if(empty($controls))$controls = "";
if(empty($edtingon))$edtingon = "";
?>
<div class="grid_11 nicebutton aligncenter margin_top10" >
<h1 class="aligncenter grid_10 margin_top5">Site Admin</h1>
<div class="grid_10 margin_top10 margin_bottom10 niceButton" >
<?php 
echo form_open(); 
?>

<label for="enable_site_editing">Enable Site Editing</label>
<input type="checkbox" name="enable_site_editing" id="enable_site_editing" <?php  if( $edtingon=="checked")echo "checked='$edtingon'"; ?>  />

</form>
</div>
</div>